home *** CD-ROM | disk | FTP | other *** search
/ Aminet 52 / Aminet 52 (2002)(GTI - Schatztruhe)[!][Dec 2002].iso / Aminet / dev / gg / ncurses-5.3.lha / ncurses-5.3 / menu / llib-lmenuw < prev    next >
Text File  |  2002-10-24  |  10KB  |  509 lines

  1. /****************************************************************************
  2.  * Copyright (c) 2002 Free Software Foundation, Inc.                        *
  3.  *                                                                          *
  4.  * Permission is hereby granted, free of charge, to any person obtaining a  *
  5.  * copy of this software and associated documentation files (the            *
  6.  * "Software"), to deal in the Software without restriction, including      *
  7.  * without limitation the rights to use, copy, modify, merge, publish,      *
  8.  * distribute, distribute with modifications, sublicense, and/or sell       *
  9.  * copies of the Software, and to permit persons to whom the Software is    *
  10.  * furnished to do so, subject to the following conditions:                 *
  11.  *                                                                          *
  12.  * The above copyright notice and this permission notice shall be included  *
  13.  * in all copies or substantial portions of the Software.                   *
  14.  *                                                                          *
  15.  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS  *
  16.  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF               *
  17.  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.   *
  18.  * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,   *
  19.  * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR    *
  20.  * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR    *
  21.  * THE USE OR OTHER DEALINGS IN THE SOFTWARE.                               *
  22.  *                                                                          *
  23.  * Except as contained in this notice, the name(s) of the above copyright   *
  24.  * holders shall not be used in advertising or otherwise to promote the     *
  25.  * sale, use or other dealings in this Software without prior written       *
  26.  * authorization.                                                           *
  27.  ****************************************************************************/
  28.  
  29. /****************************************************************************
  30.  *  Author: Thomas E. Dickey <dickey@clark.net> 2002                        *
  31.  ****************************************************************************/
  32. /* LINTLIBRARY */
  33.  
  34. /* ./m_attribs.c */
  35.  
  36. #include "menu.priv.h"
  37.  
  38. #undef set_menu_fore
  39. int    set_menu_fore(
  40.         MENU    *menu, 
  41.         chtype    attr)
  42.         { return(*(int *)0); }
  43.  
  44. #undef menu_fore
  45. chtype    menu_fore(
  46.         const MENU *menu)
  47.         { return(*(chtype *)0); }
  48.  
  49. #undef set_menu_back
  50. int    set_menu_back(
  51.         MENU    *menu, 
  52.         chtype    attr)
  53.         { return(*(int *)0); }
  54.  
  55. #undef menu_back
  56. chtype    menu_back(
  57.         const MENU *menu)
  58.         { return(*(chtype *)0); }
  59.  
  60. #undef set_menu_grey
  61. int    set_menu_grey(
  62.         MENU    *menu, 
  63.         chtype    attr)
  64.         { return(*(int *)0); }
  65.  
  66. #undef menu_grey
  67. chtype    menu_grey(
  68.         const MENU *menu)
  69.         { return(*(chtype *)0); }
  70.  
  71. /* ./m_cursor.c */
  72.  
  73. #undef _nc_menu_cursor_pos
  74. int    _nc_menu_cursor_pos(
  75.         const MENU *menu, 
  76.         const ITEM *item, 
  77.         int    *pY, 
  78.         int    *pX)
  79.         { return(*(int *)0); }
  80.  
  81. #undef pos_menu_cursor
  82. int    pos_menu_cursor(
  83.         const MENU *menu)
  84.         { return(*(int *)0); }
  85.  
  86. /* ./m_driver.c */
  87.  
  88. #undef _nc_Match_Next_Character_In_Item_Name
  89. int    _nc_Match_Next_Character_In_Item_Name(
  90.         MENU    *menu, 
  91.         int    ch, 
  92.         ITEM    **item)
  93.         { return(*(int *)0); }
  94.  
  95. #undef menu_driver
  96. int    menu_driver(
  97.         MENU    *menu, 
  98.         int    c)
  99.         { return(*(int *)0); }
  100.  
  101. /* ./m_format.c */
  102.  
  103. #undef set_menu_format
  104. int    set_menu_format(
  105.         MENU    *menu, 
  106.         int    rows, 
  107.         int    cols)
  108.         { return(*(int *)0); }
  109.  
  110. #undef menu_format
  111. void    menu_format(
  112.         const MENU *menu, 
  113.         int    *rows, 
  114.         int    *cols)
  115.         { /* void */ }
  116.  
  117. /* ./m_global.c */
  118.  
  119. #undef _nc_Default_Menu
  120. MENU    _nc_Default_Menu;
  121. #undef _nc_Default_Item
  122. ITEM    _nc_Default_Item;
  123.  
  124. #undef _nc_Connect_Items
  125. NCURSES_BOOL _nc_Connect_Items(
  126.         MENU    *menu, 
  127.         ITEM    **items)
  128.         { return(*(NCURSES_BOOL *)0); }
  129.  
  130. #undef _nc_Disconnect_Items
  131. void    _nc_Disconnect_Items(
  132.         MENU    *menu)
  133.         { /* void */ }
  134.  
  135. #undef _nc_Calculate_Item_Length_and_Width
  136. void    _nc_Calculate_Item_Length_and_Width(
  137.         MENU    *menu)
  138.         { /* void */ }
  139.  
  140. #undef _nc_Link_Items
  141. void    _nc_Link_Items(
  142.         MENU    *menu)
  143.         { /* void */ }
  144.  
  145. #undef _nc_Show_Menu
  146. void    _nc_Show_Menu(
  147.         const MENU *menu)
  148.         { /* void */ }
  149.  
  150. #undef _nc_New_TopRow_and_CurrentItem
  151. void    _nc_New_TopRow_and_CurrentItem(
  152.         MENU    *menu, 
  153.         int    new_toprow, 
  154.         ITEM    *new_current_item)
  155.         { /* void */ }
  156.  
  157. /* ./m_hook.c */
  158.  
  159. #undef set_menu_init
  160. int    set_menu_init(
  161.         MENU    *menu, 
  162.         Menu_Hook func)
  163.         { return(*(int *)0); }
  164.  
  165. #undef menu_init
  166. Menu_Hook menu_init(
  167.         const MENU *menu)
  168.         { return(*(Menu_Hook *)0); }
  169.  
  170. #undef set_menu_term
  171. int    set_menu_term(
  172.         MENU    *menu, 
  173.         Menu_Hook func)
  174.         { return(*(int *)0); }
  175.  
  176. #undef menu_term
  177. Menu_Hook menu_term(
  178.         const MENU *menu)
  179.         { return(*(Menu_Hook *)0); }
  180.  
  181. #undef set_item_init
  182. int    set_item_init(
  183.         MENU    *menu, 
  184.         Menu_Hook func)
  185.         { return(*(int *)0); }
  186.  
  187. #undef item_init
  188. Menu_Hook item_init(
  189.         const MENU *menu)
  190.         { return(*(Menu_Hook *)0); }
  191.  
  192. #undef set_item_term
  193. int    set_item_term(
  194.         MENU    *menu, 
  195.         Menu_Hook func)
  196.         { return(*(int *)0); }
  197.  
  198. #undef item_term
  199. Menu_Hook item_term(
  200.         const MENU *menu)
  201.         { return(*(Menu_Hook *)0); }
  202.  
  203. /* ./m_item_cur.c */
  204.  
  205. #undef set_current_item
  206. int    set_current_item(
  207.         MENU    *menu, 
  208.         ITEM    *item)
  209.         { return(*(int *)0); }
  210.  
  211. #undef current_item
  212. ITEM    *current_item(
  213.         const MENU *menu)
  214.         { return(*(ITEM **)0); }
  215.  
  216. #undef item_index
  217. int    item_index(
  218.         const ITEM *item)
  219.         { return(*(int *)0); }
  220.  
  221. /* ./m_item_nam.c */
  222.  
  223. #undef item_name
  224. const char *item_name(
  225.         const ITEM *item)
  226.         { return(*(const char **)0); }
  227.  
  228. #undef item_description
  229. const char *item_description(
  230.         const ITEM *item)
  231.         { return(*(const char **)0); }
  232.  
  233. /* ./m_item_new.c */
  234.  
  235. #undef new_item
  236. ITEM    *new_item(
  237.         const char *name, 
  238.         const char *description)
  239.         { return(*(ITEM **)0); }
  240.  
  241. #undef free_item
  242. int    free_item(
  243.         ITEM    *item)
  244.         { return(*(int *)0); }
  245.  
  246. #undef set_menu_mark
  247. int    set_menu_mark(
  248.         MENU    *menu, 
  249.         const char *mark)
  250.         { return(*(int *)0); }
  251.  
  252. #undef menu_mark
  253. const char *menu_mark(
  254.         const MENU *menu)
  255.         { return(*(const char **)0); }
  256.  
  257. /* ./m_item_opt.c */
  258.  
  259. #undef set_item_opts
  260. int    set_item_opts(
  261.         ITEM    *item, 
  262.         Item_Options opts)
  263.         { return(*(int *)0); }
  264.  
  265. #undef item_opts_off
  266. int    item_opts_off(
  267.         ITEM    *item, 
  268.         Item_Options opts)
  269.         { return(*(int *)0); }
  270.  
  271. #undef item_opts_on
  272. int    item_opts_on(
  273.         ITEM    *item, 
  274.         Item_Options opts)
  275.         { return(*(int *)0); }
  276.  
  277. #undef item_opts
  278. Item_Options item_opts(
  279.         const ITEM *item)
  280.         { return(*(Item_Options *)0); }
  281.  
  282. /* ./m_item_top.c */
  283.  
  284. #undef set_top_row
  285. int    set_top_row(
  286.         MENU    *menu, 
  287.         int    row)
  288.         { return(*(int *)0); }
  289.  
  290. #undef top_row
  291. int    top_row(
  292.         const MENU *menu)
  293.         { return(*(int *)0); }
  294.  
  295. /* ./m_item_use.c */
  296.  
  297. #undef set_item_userptr
  298. int    set_item_userptr(
  299.         ITEM    *item, 
  300.         void    *userptr)
  301.         { return(*(int *)0); }
  302.  
  303. #undef item_userptr
  304. void    *item_userptr(
  305.         const ITEM *item)
  306.         { return(*(void **)0); }
  307.  
  308. /* ./m_item_val.c */
  309.  
  310. #undef set_item_value
  311. int    set_item_value(
  312.         ITEM    *item, 
  313.         NCURSES_BOOL value)
  314.         { return(*(int *)0); }
  315.  
  316. #undef item_value
  317. NCURSES_BOOL item_value(
  318.         const ITEM *item)
  319.         { return(*(NCURSES_BOOL *)0); }
  320.  
  321. /* ./m_item_vis.c */
  322.  
  323. #undef item_visible
  324. NCURSES_BOOL item_visible(
  325.         const ITEM *item)
  326.         { return(*(NCURSES_BOOL *)0); }
  327.  
  328. /* ./m_items.c */
  329.  
  330. #undef set_menu_items
  331. int    set_menu_items(
  332.         MENU    *menu, 
  333.         ITEM    **items)
  334.         { return(*(int *)0); }
  335.  
  336. #undef menu_items
  337. ITEM    **menu_items(
  338.         const MENU *menu)
  339.         { return(*(ITEM ***)0); }
  340.  
  341. #undef item_count
  342. int    item_count(
  343.         const MENU *menu)
  344.         { return(*(int *)0); }
  345.  
  346. /* ./m_new.c */
  347.  
  348. #undef new_menu
  349. MENU    *new_menu(
  350.         ITEM    **items)
  351.         { return(*(MENU **)0); }
  352.  
  353. #undef free_menu
  354. int    free_menu(
  355.         MENU    *menu)
  356.         { return(*(int *)0); }
  357.  
  358. /* ./m_opts.c */
  359.  
  360. #undef set_menu_opts
  361. int    set_menu_opts(
  362.         MENU    *menu, 
  363.         Menu_Options opts)
  364.         { return(*(int *)0); }
  365.  
  366. #undef menu_opts_off
  367. int    menu_opts_off(
  368.         MENU    *menu, 
  369.         Menu_Options opts)
  370.         { return(*(int *)0); }
  371.  
  372. #undef menu_opts_on
  373. int    menu_opts_on(
  374.         MENU    *menu, 
  375.         Menu_Options opts)
  376.         { return(*(int *)0); }
  377.  
  378. #undef menu_opts
  379. Menu_Options menu_opts(
  380.         const MENU *menu)
  381.         { return(*(Menu_Options *)0); }
  382.  
  383. /* ./m_pad.c */
  384.  
  385. #undef set_menu_pad
  386. int    set_menu_pad(
  387.         MENU    *menu, 
  388.         int    pad)
  389.         { return(*(int *)0); }
  390.  
  391. #undef menu_pad
  392. int    menu_pad(
  393.         const MENU *menu)
  394.         { return(*(int *)0); }
  395.  
  396. /* ./m_pattern.c */
  397.  
  398. #undef menu_pattern
  399. char    *menu_pattern(
  400.         const MENU *menu)
  401.         { return(*(char **)0); }
  402.  
  403. #undef set_menu_pattern
  404. int    set_menu_pattern(
  405.         MENU    *menu, 
  406.         const char *p)
  407.         { return(*(int *)0); }
  408.  
  409. /* ./m_post.c */
  410.  
  411. #undef _nc_Post_Item
  412. void    _nc_Post_Item(
  413.         const MENU *menu, 
  414.         const ITEM *item)
  415.         { /* void */ }
  416.  
  417. #undef _nc_Draw_Menu
  418. void    _nc_Draw_Menu(
  419.         const MENU *menu)
  420.         { /* void */ }
  421.  
  422. #undef post_menu
  423. int    post_menu(
  424.         MENU    *menu)
  425.         { return(*(int *)0); }
  426.  
  427. #undef unpost_menu
  428. int    unpost_menu(
  429.         MENU    *menu)
  430.         { return(*(int *)0); }
  431.  
  432. /* ./m_req_name.c */
  433.  
  434. #undef menu_request_name
  435. const char *menu_request_name(
  436.         int    request)
  437.         { return(*(const char **)0); }
  438.  
  439. #undef menu_request_by_name
  440. int    menu_request_by_name(
  441.         const char *str)
  442.         { return(*(int *)0); }
  443.  
  444. /* ./m_scale.c */
  445.  
  446. #undef scale_menu
  447. int    scale_menu(
  448.         const MENU *menu, 
  449.         int    *rows, 
  450.         int    *cols)
  451.         { return(*(int *)0); }
  452.  
  453. /* ./m_spacing.c */
  454.  
  455. #undef set_menu_spacing
  456. int    set_menu_spacing(
  457.         MENU    *menu, 
  458.         int    s_desc, 
  459.         int    s_row, 
  460.         int    s_col)
  461.         { return(*(int *)0); }
  462.  
  463. #undef menu_spacing
  464. int    menu_spacing(
  465.         const MENU *menu, 
  466.         int    *s_desc, 
  467.         int    *s_row, 
  468.         int    *s_col)
  469.         { return(*(int *)0); }
  470.  
  471. /* ./m_sub.c */
  472.  
  473. #undef set_menu_sub
  474. int    set_menu_sub(
  475.         MENU    *menu, 
  476.         WINDOW    *win)
  477.         { return(*(int *)0); }
  478.  
  479. #undef menu_sub
  480. WINDOW    *menu_sub(
  481.         const MENU *menu)
  482.         { return(*(WINDOW **)0); }
  483.  
  484. /* ./m_userptr.c */
  485.  
  486. #undef set_menu_userptr
  487. int    set_menu_userptr(
  488.         MENU    *menu, 
  489.         void    *userptr)
  490.         { return(*(int *)0); }
  491.  
  492. #undef menu_userptr
  493. void    *menu_userptr(
  494.         const MENU *menu)
  495.         { return(*(void **)0); }
  496.  
  497. /* ./m_win.c */
  498.  
  499. #undef set_menu_win
  500. int    set_menu_win(
  501.         MENU    *menu, 
  502.         WINDOW    *win)
  503.         { return(*(int *)0); }
  504.  
  505. #undef menu_win
  506. WINDOW    *menu_win(
  507.         const MENU *menu)
  508.         { return(*(WINDOW **)0); }
  509.